#!/bin/sh -f
gcc -c -I/usr/include -I/usr/local/MATLAB/R2012b/extern/include -I/usr/local/MATLAB/R2012b/simulink/include -v `sdl-config --cflags` -DMATLAB_MEX_FILE -ansi -D_GNU_SOURCE -fexceptions -fPIC -fno-omit-frame-pointer -pthread -DMX_COMPAT_32 -O -DNDEBUG mx_close_eyelink_system.c -o mx_close_eyelink_system.o
gcc -O -pthread -shared -Wl,--version-script,/usr/local/MATLAB/R2012b/extern/lib/glnxa64/mexFunction.map -Wl,--no-undefined mx_close_eyelink_system.o -Wl,-rpath-link,/usr/local/MATLAB/R2012b/bin/glnxa64 -L/usr/local/MATLAB/R2012b/bin/glnxa64 -L/usr/lib -leyelink_core -lmx -lmex -lmat -lm -lstdc++ -leyelink_core_graphics -lsdl_util `sdl-config --libs` -lSDL_image -lSDL_mixer -lrt -o "mx_close_eyelink_system.mexa64"